import { Moment } from 'moment';

/**
 * 「周」模式节点数据
 *
 * @export
 * @interface IBzCalendarWeekNode
 */
export interface IBzCalendarWeekNode {
    /**
     * 节点唯一标识
     *
     * @type {number}
     * @memberof IBzCalendarWeekNode
     */
    id: number;
    /**
     * 文本值
     *
     * @type {string}
     * @memberof IBzCalendarWeekNode
     */
    text: string;
    /**
     * 起始时间
     *
     * @type {Moment}
     * @memberof IBzCalendarWeekNode
     */
    startMoment: Moment;
    /**
     * 结束时间
     *
     * @type {Moment}
     * @memberof IBzCalendarWeekNode
     */
    endMoment: Moment;
    /**
     * 是否正在拖拽中
     *
     * @type {boolean}
     * @memberof IBzCalendarWeekNode
     */
    dragging: boolean;
    /**
     * 数据
     *
     * @type {*}
     * @memberof IBzCalendarWeekNode
     */
    data: any;
}